home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / src / s / bsd386.h < prev    next >
C/C++ Source or Header  |  1994-10-05  |  1KB  |  48 lines

  1. /* s/ file for bsd386 system.  */
  2.  
  3. #include "bsd4-3.h"
  4.  
  5. #ifndef __bsdi__
  6. #define __bsdi__ 1
  7. #endif
  8.  
  9. #define DECLARE_GETPWUID_WITH_UID_T
  10.  
  11. #define SIGNALS_VIA_CHARACTERS
  12.  
  13. #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
  14. #define A_TEXT_OFFSET(x)    (sizeof (struct exec))
  15. #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
  16.  
  17. #define LIBS_DEBUG
  18. #define LIB_X11_LIB -L/usr/X11/lib -lX11
  19. #define LIBS_SYSTEM -lutil -lkvm -lcompat
  20.  
  21. #define HAVE_GETLOADAVG
  22.  
  23. #undef BSD_PGRPS
  24.  
  25. /* The dumped Emacs records the timezone it was dumped in.  */
  26. #define LOCALTIME_CACHE
  27.  
  28. /* System uses OXTABS instead of the expected TAB3.
  29.    (Copied from netbsd.h.)  */
  30. #define TABDLY OXTABS
  31. #define TAB3 OXTABS
  32.  
  33. #define SYSV_SYSTEM_DIR
  34.  
  35. /* this silences a few compilation warnings */
  36. #undef BSD
  37. #define BSD 199103
  38.  
  39. #define WAITTYPE int
  40. /* get this since it won't be included if WAITTYPE is defined */
  41. #ifdef emacs
  42. #include <sys/wait.h>
  43. #endif
  44. #define WRETCODE(w) WEXITSTATUS(w)
  45. #ifndef WCOREDUMP
  46. #define WCOREDUMP(w) ((w) & 0200)
  47. #endif
  48.